@import '../../../var';
page {
  background-color: #f7f7f7;
}
.current_class {
  background-color: gold;
  font-size: 24rpx;
  color: #2c2a31;
}
.not_current_class {
  font-size: 24rpx;
  color: #79787a;
}
.header {
  padding: 30rpx 30rpx 20rpx;
  .swiperBox {
    width: 690rpx;
    height: 256rpx;
    .swiperItem {
      image {
        width: 100%;
        height: 100%;
      }
    }
  }
}

.scroll-x {
  width: 100%;
  // 设置 white-space 属性为 nowrap，这会导致文本不换行，适合横向滚动的布局
  white-space: nowrap;
  background-color: rgb(224, 224, 224);
  padding-left: 0px;
  view {
    // 设置 display 属性为 inline-block，这会使元素以内联块级元素的方式显示，可以在同一行内显示多个元素
    display: inline-block;
    width: 208rpx;
    height: 80rpx;
    border-radius: 20rpx;
    padding-left: 0rpx;
    padding-right: 0rpx;
    line-height: 80rpx;
    text-align: center;
  }
}
.nav {
  display: flex;
  width: 100%;
  padding: 20rpx 30rpx;
  background-color: #f7f7f7;
  z-index: 99;
  .navItem {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 40rpx;
    color: $info-color;
    font-size: 26rpx;
    &.active {
      color: $title-color;
      font-weight: 600;
      font-size: 30rpx;
    }
  }
}

.fixed {
  position: fixed;
}

.section {
  .list {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 200rpx;
    margin: 0 30rpx 30rpx 0;
    padding: 10rpx 5rpx 2rpx 10rpx;
    background: rgba(255, 255, 255, 1);
    border-radius: 16rpx;
    box-shadow: 0px 2rpx 3rpx 0rpx rgba(0, 0, 0, 0.09);
    &:nth-child(3n) {
      margin-right: 0;
    }
    .user {
      width: 100%;
      height: 56rpx;
    }
    .name {
      width: 100%;
      height: 50rpx;
      color: $title-color;
      font-weight: 100;
      font-size: 28rpx;
      line-height: 50rpx;
      text-align: left;
    }
    .title {
      width: 100%;
      height: 50rpx;
      color: #000;
      font-size: 24rpx;
      font-weight: 100;
      line-height: 50rpx;
      text-align: left;
    }
    .btn {
      span {
        font-size: 28rpx;
      }
      display: flex;
      align-items: center;
      justify-content: center;
      width: 130rpx;
      height: 44rpx;
      font-size: 24rpx;
      border: 2rpx solid $primary-color;
      border-radius: 22rpx;
    }
  }
}

.tips {
  margin-top: 20rpx;
  width: 100%;
  text-align: center;
  color: #cccccc;
}
.match_detail_intro_5 {
  width: 90%;
  margin: auto;
  min-height: 150rpx;
  line-height: 160rpx;
  .match_detail_intro_5_1 {
    width: 100%;
    margin: 10rpx 0rpx;
    display: flex;
    background-color: #d3d3d4;
    border-radius: 10rpx;
    flex-direction: row;
    line-height: 40rpx;
    height: 160rpx;
    .image {
      width: 40px;
      height: 40px;
    }
  }
}

.cover {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(#000, 0.4);
}

.confirm {
  z-index: 900;
  width: 560rpx;
  overflow: hidden;
  background-color: #fff;
  border-radius: 10rpx;
  .text {
    min-height: 200rpx;
    padding: 54rpx;
    line-height: 30rpx;
    color: $text-color;
  }
  .bottoms {
    display: flex;
    align-items: center;
    height: 90rpx;
    .submits {
      display: flex;
      flex: 0.5;
      align-items: center;
      justify-content: center;
      height: 100%;
      background-color: $primary;
    }
    .cancel {
      display: flex;
      flex: 0.5;
      align-items: center;
      justify-content: center;
      height: 100%;
      color: rgb(8, 8, 8);
      background-color: #ddd;
    }
  }
}
.confirmPay {
  z-index: 900;
  width: 560rpx;
  overflow: hidden;
  background-color: #fff;
  border-radius: 10rpx;
  .text {
    min-height: 200rpx;
    padding: 54rpx;
    line-height: 30rpx;
    color: $text-color;
  }
  .bottoms {
    display: flex;
    align-items: center;
    height: 90rpx;
    .submits {
      display: flex;
      flex: 0.3;
      align-items: center;
      justify-content: center;
      height: 100%;
      background-color: $primary;
    }
    .submits50 {
      display: flex;
      flex: 0.5;
      align-items: center;
      justify-content: center;
      height: 100%;
      background-color: $primary;
    }
    .submits2 {
      display: flex;
      flex: 0.33;
      align-items: center;
      justify-content: center;
      height: 100%;
      background-color: $primary;
    }
    .cancel {
      display: flex;
      flex: 0.3;
      align-items: center;
      justify-content: center;
      height: 100%;
      color: rgb(8, 8, 8);
      background-color: #ddd;
    }
    .cancel50 {
      display: flex;
      flex: 0.5;
      align-items: center;
      justify-content: center;
      height: 100%;
      color: rgb(8, 8, 8);
      background-color: #ddd;
    }
    .shuxian {
      display: flex;
      flex: 0.01;
      align-items: center;
      justify-content: center;
      height: 100%;
      color: rgb(8, 8, 8);
      background-color: #83c9e2;
    }
    .shuxian2 {
      display: flex;
      flex: 0.02;
      align-items: center;
      justify-content: center;
      height: 100%;
      color: rgb(8, 8, 8);
      background-color: #d6dadb;
    }
  }
}
//弹出框
.detailBox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 800;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  .contentBox {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 0 30rpx 30rpx;
    color: $title-color;
    background-color: $bgcolor-light;
    border-radius: 20rpx 20rpx 0 0;
    .titleBox {
      display: flex;
      flex: 1;
      align-items: center;
      justify-content: space-between;
      height: 90rpx;
      .title {
        font-weight: 600;
        font-size: 28rpx;
      }
      .cancel {
        font-size: 40rpx;
      }
    }
    .content {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      height: 100%;
      .categories {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin-bottom: 60rpx;
        &-item {
          display: inline-block;
          // width: 210rpx;
          height: 60rpx;
          padding: 0 30rpx;
          margin: 30rpx 20rpx 0 0;
          color: $title-color;
          font-size: 28rpx;
          line-height: 60rpx;
          text-align: center;
          background-color: $page-background-color;
          border-radius: 6rpx;
        }
        .active {
          color: #fff;
          background-color: $primary-color;
        }
      }
      .tips {
        width: 100%;
        margin-bottom: 20rpx;
        text-align: center;
        text {
          color: $info-color;
        }
      }
      .fans {
        display: flex;
        justify-content: center;
        width: 100%;
        color: $title-color;
        font-weight: 600;
        font-size: 60rpx;
      }
      .getSorce {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        width: 100%;
        color: $info-color;
        font-size: 30rpx;
      }
      .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 400rpx;
        height: 62rpx;
        margin: 0 auto 0;
        color: #ffffff;
        font-weight: 600;
        font-size: 28rpx;
        background-color: $primary-color;
        border-radius: 32rpx;
      }
      .btns {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 690rpx;
        height: 84rpx;
        margin: 0 auto 0;
        color: #ffffff;
        font-weight: 600;
        font-size: 32rpx;
        background-color: $primary-color;
        border-radius: 42rpx;
      }
      .disable {
        opacity: 0.4;
      }
    }
  }
}
